package com.work.libtest2.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.work.libtest2.dto.JobDto;
import com.work.libtest2.entity.Job;

import java.util.List;

/**
 * ClassName: JobService
 * Package: com.work.libtest2.service
 * Description:
 *
 * @Author
 * @Create 2024/6/10 9:11
 * @Version 1.0
 */
public interface JobService {
    List<Job> getAllJobName();

    IPage<JobDto> getPage(Integer currentPage, Integer pageSize, JobDto jobDto);

    int addJob(Job job);

    Job getJobById(Integer jobId);

    int updateJob(Job job);

    int deleteJobById(Integer jobId);
}
